package com.globalresources.po;

/**
 * News entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class News implements java.io.Serializable {

	// Fields

	private Integer id;
	private String title;
	private String datetime;
	private String source;
	private String content;
	private Integer viewtimes;

	// Constructors

	/** default constructor */
	public News() {
	}

	/** full constructor */
	public News(String title, String datetime, String source, String content,
			Integer viewtimes) {
		this.title = title;
		this.datetime = datetime;
		this.source = source;
		this.content = content;
		this.viewtimes = viewtimes;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDatetime() {
		return this.datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getViewtimes() {
		return this.viewtimes;
	}

	public void setViewtimes(Integer viewtimes) {
		this.viewtimes = viewtimes;
	}

}